<?php

namespace app\admin\controller;

use think\Request;
class Administrator extends Auth
{
    public function list(Request $request){
	    $data=$request->param();
      $auth_ids = viewAuth();
       if($request->isGet() && !isset($data['status'])){
           return view('list',[
               'isshow'=>2,
               'view'=>'sale',
               'auth_ids'=>$auth_ids
           ]);
       }elseif ($request->isGet() && isset($data['status'])){
           return view('list',[
               'isshow'=>2,
               'view'=>$data['status'],
               'auth_ids'=>$auth_ids
           ]);
       }
    }
}
